package designPattern.singleton;

/**
 * Created by cdxuhongya on 2017/1/6.
 */
public class Singleton_sync_C {
    private Singleton_sync_C(){}

    private static class SingletonFactory{
        private static Singleton_sync_C instance = new Singleton_sync_C();

    }

    public static Singleton_sync_C getInstance(){
        return SingletonFactory.instance;
    }
}
